package com.ruoyi.jksd.service;

import java.util.List;

import com.ruoyi.common.core.domain.AjaxResult;
import com.ruoyi.common.core.domain.model.LoginUser;
import com.ruoyi.jksd.common.dto.ConveyDto;
import com.ruoyi.jksd.domain.XyConvey;
import com.ruoyi.jksd.domain.XyUsers;

/**
 * 会员-订单Service接口
 * 
 * @author ruoyi
 * @date 2024-05-26
 */
public interface IXyConveyService 
{
    /**
     * 查询会员-订单
     * 
     * @param id 会员-订单主键
     * @return 会员-订单
     */
    public XyConvey selectXyConveyById(String id);

    /**
     * 查询会员-订单列表
     * 
     * @param xyConvey 会员-订单
     * @return 会员-订单集合
     */
    public List<XyConvey> selectXyConveyList(XyConvey xyConvey);

    /**
     * 新增会员-订单
     * 
     * @param xyConvey 会员-订单
     * @return 结果
     */
    public int insertXyConvey(XyConvey xyConvey);

    /**
     * 修改会员-订单
     * 
     * @param xyConvey 会员-订单
     * @return 结果
     */
    public int updateXyConvey(XyConvey xyConvey);

    /**
     * 批量删除会员-订单
     * 
     * @param ids 需要删除的会员-订单主键集合
     * @return 结果
     */
    public int deleteXyConveyByIds(String[] ids);

    /**
     * 删除会员-订单信息
     * 
     * @param id 会员-订单主键
     * @return 结果
     */
    public int deleteXyConveyById(String id);


    AjaxResult doAapplyOrder(ConveyDto conveyDto);

    AjaxResult applyOrderConvey(LoginUser xyUsers);

    List<XyConvey> selectUnPayConvey(Long id);
}
